package cn.iocoder.yudao.module.alipay.convert.cpssource;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.alipay.controller.admin.cpssource.vo.*;
import cn.iocoder.yudao.module.alipay.dal.dataobject.cpssource.CpsSourceDO;

/**
 * 渠道标识 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface CpsSourceConvert {

    CpsSourceConvert INSTANCE = Mappers.getMapper(CpsSourceConvert.class);

    CpsSourceDO convert(CpsSourceCreateReqVO bean);

    CpsSourceDO convert(CpsSourceUpdateReqVO bean);

    CpsSourceRespVO convert(CpsSourceDO bean);

    List<CpsSourceRespVO> convertList(List<CpsSourceDO> list);

    PageResult<CpsSourceRespVO> convertPage(PageResult<CpsSourceDO> page);

    List<CpsSourceExcelVO> convertList02(List<CpsSourceDO> list);

}
